﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Site.master" AutoEventWireup="true" CodeFile="WIN07_2E.aspx.cs" Inherits="IFRS_WIN07_2E" %>

<%@ Register Assembly="vsm.WebControls" Namespace="vsm.WebControls" TagPrefix="vsm" %>
<%@ Register Assembly="vsm.CustomControl" Namespace="vsm.CustomControl" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link href="../Content/plugins/jquery-ui/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="container-custom">
        <div class="table_master">
            <div class="colbtnConfirm">
                <asp:Button ID="btnCONFIRM" runat="server" Text="<%$Resources:ifrsButton,CONFIRM%>"
                    SkinID="NormalButton" OnClick="btnCONFIRM_Click" />
            </div>
            <div class="table_detail">
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblGSBBondCode" runat="server" Text="<%$Resources:ifrsField,GSBBondCode%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <asp:TextBox ID="txtGSBBondCode" runat="server" SkinID="TextBoxWithNoColor"></asp:TextBox>
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqGSBBondCode" runat="server" ErrorMessage=""
                            ControlToValidate="txtGSBBondCode" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblAllowedReturnDate" runat="server" Text="<%$Resources:ifrsField,AllowedReturnDate%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo_single">
                        <asp:TextBox ID="txtAllowedReturnDate" CssClass="datepicker" SkinID="dateText" 
                            runat="server" onblur="datebox_onblur( this, event );" ></asp:TextBox>
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqAllowedReturnDate" runat="server" ErrorMessage=""
                            ControlToValidate="txtAllowedReturnDate" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>
                </div>
                <div class="rowinfo">
                    <div class="collabel_single">
                        <asp:Label ID="lblAllowedReturnPrice" runat="server" Text="<%$Resources:ifrsField,AllowedReturnPrice%>" />&nbsp;:&nbsp;
                    </div>
                    <div class="colinfo">                        
                        <cc1:TextboxNumber ID="txtAllowedReturnPrice" runat="server" SkinID="TextBoxWithNoColor" 
                            MaxLength="10" DigitDecimal="2" TypeTextbox="Currency" />
                        <asp:Label ID="lblTHB" runat="server" Text="<%$Resources:ifrsField,BAHT%>" />&nbsp;
                        <span class="red">*</span>
                        <asp:RequiredFieldValidator ID="reqAllowedReturnPrice" runat="server" ErrorMessage=""
                            ControlToValidate="txtAllowedReturnPrice" Display="Dynamic"></asp:RequiredFieldValidator>
                    </div>                       
                </div>
                <div class="rowinfo">                        
                    <div class="collabel_single">
                        <asp:Label ID="lblStatus" runat="server" Text="<%$Resources:ifrsField,LIST_STATUS%>" />&nbsp;:&nbsp;
                    </div>                                    
                    <div class="colinfo_single">
                        <asp:TextBox ID="txtStatus" runat="server" SkinID="ReadOnlyBox" />
                    </div>
                </div>             
            </div>
            <div class="colbtn">
                <asp:Button ID="btnSAVE" SkinID="NormalButton" runat="server" 
                    Text="<%$Resources:ifrsButton,SAVE%>" onclick="btnSAVE_Click" />&nbsp;
                <asp:Button ID="btnCANCEL" SkinID="NormalButton" runat="server" 
                    Text="<%$Resources:ifrsButton,CANCEL%>" onclick="btnCANCEL_Click" />
            </div>
        </div>
    </div>    
    <asp:HiddenField ID="hidGSBBondPriceID" runat="server" />
    <asp:HiddenField ID="hidUpdateDate" runat="server" />    

    <script src="../Content/js/Currency.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="../Content/plugins/jquery-ui/ui/jquery.ui.datepicker.js" type="text/javascript"></script>
    <script src="../Content/plugins/custom.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function () {
            $(".datepicker").initDatepicker();
        });
    </script>
</asp:Content>
